package com.zsrt.java.day20161226.zzd.demo3;

import java.util.Scanner;

public class BoHaoTest7 {
	public static void demo05(String grade){
		switch(grade){
  	    case "1":System.out.println("拨爸爸的号"); break;
  	    case "2":System.out.println("拨妈妈的号"); break;
  	    case "3":System.out.println("拨爷爷的号"); break;
  	    case "4":System.out.println("拨奶奶的号"); break;
  	    default:break;
    }
	}
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
  	    System.out.println("请输入1个合法的数字：");
  	    String grade=sc.next();
  	    demo05(grade);
  	    sc.close();
	}

}
